<template>
  <div class="home_body">
    <div class="home_body_banner">
      <div class="home_body_banner_swipe">
        <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
          <van-swipe-item>1</van-swipe-item>
          <van-swipe-item>2</van-swipe-item>
          <van-swipe-item>3</van-swipe-item>
          <van-swipe-item>4</van-swipe-item>
        </van-swipe>
      </div>
    </div>
  </div>
</template>
<script setup name="home_index">
</script>
<style scoped lang="scss">
.home_body {
  width: 100%;
  height: auto;

  .home_body_banner {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    padding: 20px 10px;
  }
}

.home_body_banner_swipe {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 10px;
 box-shadow: 0 2px 4px rgba(0, 0, 0, .12), 0 0 6px rgba(0, 0, 0, .04);
}

.my-swipe .van-swipe-item {
  color: #fff;
  font-size: 20px;
  line-height: 150px;
  text-align: center;
  background-color: #39a9ed;
}
</style>